package com.wpp.lagouserviceuser.service.remoteservice;

import com.wpp.core.result.ResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author wpp25
 * @date 2021/5/18 7:16
 * @description：
 */
@FeignClient(name = "service-code")
public interface FeignCodeRemoteService {


    @GetMapping(value = "/api/code")
    public ResultDTO<String> getCode();

}
